package com.aaa.order.service.Imp;

import com.aaa.entity.Order;
import com.aaa.order.dao.OrderDap;
import com.aaa.order.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：Username 刘亦辰（59372312@qq.com）
 * @date ：Created in 2022/11/18 14:49
 * @description：
 * @modified By：
 * @version:
 */
@Service
public class OrderServiceImp implements OrderService {

    @Autowired
    OrderDap orderDap;

    @Override
    public int save(Order order) {
        return orderDap.insert(order);
    }
}